package com.xique.park.constant.message;

/**
 * pp支付这个的常量
 */
public class PPConstants {
    /***************车主提供支付码被扫扣款****************/
    //平台分配的接⼊应⽤ID,在停⻋场内部使⽤接⼝时可不传递
    public static final String app_id = "app_id";
    //接口类型配合app_id使用
    public static final String api_type = "api_type";
    //车牌号码
    public static final String plate = "plate";
    //扫码得到的值
    public static final String auth_code = "auth_code";
    //入场时间，单位ms
    public static final String enter_time = "enter_time";
    //总停车费用，单位分
    public static final String total_value = "total_value";
    //扣费金额，单位分
    public static final String pay_value = "pay_value";
    //优惠金额，没有优惠传0
    public static final String free_value = "free_value";
    //车场UUID
    public static final String park_uuid = "park_uuid";
    //停车流水号
    public static final String parking_serial = "parking_serial";
    //总停车时长，单位秒
    public static final String parking_time = "parking_time";
    //出口扣款通道ID
    public static final String gate_id = "gate_id";
    //出口扣款通道名称
    public static final String gate_name = "gate_name";
    //请求数据签名
    public static final String sign = "sign";
    //本地扣费订单号，同一个停车场唯一
    public static final String pay_partner = "pay_partner";

    /**被扫扣款应答code*/
    //收款请求已受理
    public static final String code_1000 = "1000";
    //已扣款成功
    public static final String code_1001 = "1001";
    //参数错误
    public static final String code_400 = "400";
    //处理失败，提示message的信息
    public static final String code_500 = "500";
    //服务暂不可用
    public static final String code_503 = "503";

    /**平台支付流水*/
    public static final String pay_serial = "pay_serial";
    /**到账方式*/
    public static final String pay_origin = "pay_origin";
    /**到账方式描述*/
    public static final String pay_origin_desc = "pay_origin_desc";
}
